package com.wxtwxt.ruralmall.auth.feign;

import com.wxtwxt.ruralmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Wxt
 * @create 2023-04-19 23:29
 */
@FeignClient("ruralmall-third-party")
public interface ThirdPartyFeign {
    @GetMapping("/sms/sendCode")
    R sendCode(@RequestParam("email") String email, @RequestParam("code") String code);
}
